class Base {
    int num;

    public Base() {
        System.out.printf("4. Base init....!\n");
    }

}

class Student extends Base {
    private String name;

    static {
        System.out.printf("3.Student Static Code!\n");
    }

    {
        name = "hello";
        System.out.printf("5. Student Init Code!\n");
    }

    public Student() {
        System.out.printf("6. Student init ....!\n");
    }

    public void show() {
        System.out.printf("7. Student show name = %s!\n", name);
    }
}

public class CodeRunTest {
    static public void main(String [] args) {
        System.out.printf("2. main run start!....\n");

        Student s = new Student();;

        s.show();
    }

    static {
        System.out.printf("1 CodeRunTest init...!\n");
    }
}
